package beans;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/*统一数据响应格式*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResponseData<T> {
    /*为了实现数据的通用性,这里使用泛型来接收任意引用类型*/
    private T data;
    private Integer code;
    private String msg;
}
